﻿using AutoMapper;
using Demo.ProductService.Entities;
using Demo.ProductService.Services.Dtos;

namespace Demo.ProductService.ObjectMapping;

public class ProductServiceAutoMapperProfile : Profile
{
    public ProductServiceAutoMapperProfile()
    {
        /* Create your AutoMapper object mappings here */

        CreateMap<Products, ProductDto>();
        CreateMap<ProductDto, Products>();

    }
}
